{include file="header.html"}
<div> 
<ul class="nav nav-tabs">
<li class="active"><a href="{$appadmin}?m=koudai_admin&shopid={$shop.id}">店铺账户管理</a></li>
{if $shop}<li><a href="{$appadmin}?m=koudai_admin&a=add&shopid={$shop.id}">添加</a></li>{/if}
</ul>
<div>当前店铺：{$shop.title}</div>
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   
   <td>所属店铺</td>
   <td>类型</td> 
   <td>管理员</td>
   <td>昵称</td> 
   <td>电话</td>
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.adminid}</td>
   
   <td>{$c.shopname}</td>
   <td>{if $c.typeid eq 1}管理员{else}对账员{/if}</td> 
   <td>{$c.adminname}</td>
    <td>{$c.nickname}</td>
   <td>{$c.telephone}</td>
   
<td>
<a href="{$appadmin}?m=koudai_admin&a=add&shopid={$c.shopid}&adminid={$c.adminid}">编辑账户</a>
<a href="{$appadmin}?m=koudai_admin&a=password&shopid={$c.shopid}&adminid={$c.adminid}">修改密码</a>

 
<a href="{$appadmin}?m=koudai_admin_area&shopid={$c.shopid}&adminid={$c.adminid}">楼栋授权</a>
 
</td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div> 
{include file="footer.html"}